﻿/*
 * XCoder v3.4.2011.0316
 * 作者：nnhy/X
 * 时间：2011-04-04 11:54:06
 * 版权：版权所有 (C) 新生命开发团队 2010
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using XCode;
using XCode.DataAccessLayer;

namespace NXCMS.CMS
{
	/// <summary>
	/// 论坛组
	/// </summary>
	[Serializable]
	[DataObject]
	[Description("论坛组")]
	[BindTable("ForumGroup", Description = "论坛组", ConnName = "CMS", DbType = DatabaseType.SqlServer)]
	public partial class ForumGroup
	{
		#region 属性
		private Int32 _ID;
		/// <summary>
		/// 编号
		/// </summary>
		[Description("编号")]
		[DataObjectField(true, true, false, 10)]
		[BindColumn(1, "ID", "编号", "", "int", 10, 0, false)]
		public Int32 ID
		{
			get { return _ID; }
			set { if (OnPropertyChange("ID", value)) _ID = value; }
		}

		private Int32 _SiteID;
		/// <summary>
		/// 站点编号
		/// </summary>
		[Description("站点编号")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(2, "SiteID", "站点编号", "", "int", 10, 0, false)]
		public Int32 SiteID
		{
			get { return _SiteID; }
			set { if (OnPropertyChange("SiteID", value)) _SiteID = value; }
		}

		private Int32 _RadminID;
		/// <summary>
		/// 管理员编号
		/// </summary>
		[Description("管理员编号")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(3, "RadminID", "管理员编号", "", "int", 10, 0, false)]
		public Int32 RadminID
		{
			get { return _RadminID; }
			set { if (OnPropertyChange("RadminID", value)) _RadminID = value; }
		}

		private String _Name;
		/// <summary>
		/// 名称
		/// </summary>
		[Description("名称")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(4, "Name", "名称", "", "nvarchar(100)", 0, 0, true)]
		public String Name
		{
			get { return _Name; }
			set { if (OnPropertyChange("Name", value)) _Name = value; }
		}

		private String _SystemName;
		/// <summary>
		/// 名称
		/// </summary>
		[Description("名称")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(5, "SystemName", "名称", "", "nvarchar(100)", 0, 0, true)]
		public String SystemName
		{
			get { return _SystemName; }
			set { if (OnPropertyChange("SystemName", value)) _SystemName = value; }
		}

		private String _Type;
		/// <summary>
		/// 类型
		/// </summary>
		[Description("类型")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(6, "Type", "类型", "", "nvarchar(100)", 0, 0, true)]
		public String Type
		{
			get { return _Type; }
			set { if (OnPropertyChange("Type", value)) _Type = value; }
		}

		private String _Color;
		/// <summary>
		/// 颜色
		/// </summary>
		[Description("颜色")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(7, "Color", "颜色", "", "nvarchar(100)", 0, 0, true)]
		public String Color
		{
			get { return _Color; }
			set { if (OnPropertyChange("Color", value)) _Color = value; }
		}

		private String _Image;
		/// <summary>
		/// 图片
		/// </summary>
		[Description("图片")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(8, "Image", "图片", "", "nvarchar(100)", 0, 0, true)]
		public String Image
		{
			get { return _Image; }
			set { if (OnPropertyChange("Image", value)) _Image = value; }
		}

		private Int32 _LowerScore;
		/// <summary>
		/// 低分数
		/// </summary>
		[Description("低分数")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(9, "LowerScore", "低分数", "", "int", 10, 0, false)]
		public Int32 LowerScore
		{
			get { return _LowerScore; }
			set { if (OnPropertyChange("LowerScore", value)) _LowerScore = value; }
		}

		private Int32 _UpperScore;
		/// <summary>
		/// 上
		/// </summary>
		[Description("上")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(10, "UpperScore", "上", "", "int", 10, 0, false)]
		public Int32 UpperScore
		{
			get { return _UpperScore; }
			set { if (OnPropertyChange("UpperScore", value)) _UpperScore = value; }
		}

		private Boolean _AllowTheme;
		/// <summary>
		/// 允许主题
		/// </summary>
		[Description("允许主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(11, "AllowTheme", "允许主题", "", "bit", 0, 0, false)]
		public Boolean AllowTheme
		{
			get { return _AllowTheme; }
			set { if (OnPropertyChange("AllowTheme", value)) _AllowTheme = value; }
		}

		private Boolean _AllowReply;
		/// <summary>
		/// 允许评论
		/// </summary>
		[Description("允许评论")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(12, "AllowReply", "允许评论", "", "bit", 0, 0, false)]
		public Boolean AllowReply
		{
			get { return _AllowReply; }
			set { if (OnPropertyChange("AllowReply", value)) _AllowReply = value; }
		}

		private Boolean _AllowSearch;
		/// <summary>
		/// 允许搜索
		/// </summary>
		[Description("允许搜索")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(13, "AllowSearch", "允许搜索", "", "bit", 0, 0, false)]
		public Boolean AllowSearch
		{
			get { return _AllowSearch; }
			set { if (OnPropertyChange("AllowSearch", value)) _AllowSearch = value; }
		}

		private Boolean _AllowUserInfo;
		/// <summary>
		/// 允许用户信息
		/// </summary>
		[Description("允许用户信息")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(14, "AllowUserInfo", "允许用户信息", "", "bit", 0, 0, false)]
		public Boolean AllowUserInfo
		{
			get { return _AllowUserInfo; }
			set { if (OnPropertyChange("AllowUserInfo", value)) _AllowUserInfo = value; }
		}

		private Boolean _AllowPanel;
		/// <summary>
		/// 允许面板
		/// </summary>
		[Description("允许面板")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(15, "AllowPanel", "允许面板", "", "bit", 0, 0, false)]
		public Boolean AllowPanel
		{
			get { return _AllowPanel; }
			set { if (OnPropertyChange("AllowPanel", value)) _AllowPanel = value; }
		}

		private Boolean _AllowNickName;
		/// <summary>
		/// 允许昵称
		/// </summary>
		[Description("允许昵称")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(16, "AllowNickName", "允许昵称", "", "bit", 0, 0, false)]
		public Boolean AllowNickName
		{
			get { return _AllowNickName; }
			set { if (OnPropertyChange("AllowNickName", value)) _AllowNickName = value; }
		}

		private Boolean _AllowVisit;
		/// <summary>
		/// 允许访问
		/// </summary>
		[Description("允许访问")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(17, "AllowVisit", "允许访问", "", "bit", 0, 0, false)]
		public Boolean AllowVisit
		{
			get { return _AllowVisit; }
			set { if (OnPropertyChange("AllowVisit", value)) _AllowVisit = value; }
		}

		private Boolean _AllowHeadImage;
		/// <summary>
		/// 允许头部图片
		/// </summary>
		[Description("允许头部图片")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(18, "AllowHeadImage", "允许头部图片", "", "bit", 0, 0, false)]
		public Boolean AllowHeadImage
		{
			get { return _AllowHeadImage; }
			set { if (OnPropertyChange("AllowHeadImage", value)) _AllowHeadImage = value; }
		}

		private Boolean _AllowFace;
		/// <summary>
		/// 允许头像
		/// </summary>
		[Description("允许头像")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(19, "AllowFace", "允许头像", "", "bit", 0, 0, false)]
		public Boolean AllowFace
		{
			get { return _AllowFace; }
			set { if (OnPropertyChange("AllowFace", value)) _AllowFace = value; }
		}

		private Boolean _AllowAutograph;
		/// <summary>
		/// 允许自动图形
		/// </summary>
		[Description("允许自动图形")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(20, "AllowAutograph", "允许自动图形", "", "bit", 0, 0, false)]
		public Boolean AllowAutograph
		{
			get { return _AllowAutograph; }
			set { if (OnPropertyChange("AllowAutograph", value)) _AllowAutograph = value; }
		}

		private Boolean _Verify;
		/// <summary>
		/// 验证
		/// </summary>
		[Description("验证")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(21, "Verify", "验证", "", "bit", 0, 0, false)]
		public Boolean Verify
		{
			get { return _Verify; }
			set { if (OnPropertyChange("Verify", value)) _Verify = value; }
		}

		private Boolean _AllowEditUser;
		/// <summary>
		/// 允许编辑用户
		/// </summary>
		[Description("允许编辑用户")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(22, "AllowEditUser", "允许编辑用户", "", "bit", 0, 0, false)]
		public Boolean AllowEditUser
		{
			get { return _AllowEditUser; }
			set { if (OnPropertyChange("AllowEditUser", value)) _AllowEditUser = value; }
		}

		private Boolean _AllowForbidUser;
		/// <summary>
		/// 允许禁止用户
		/// </summary>
		[Description("允许禁止用户")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(23, "AllowForbidUser", "允许禁止用户", "", "bit", 0, 0, false)]
		public Boolean AllowForbidUser
		{
			get { return _AllowForbidUser; }
			set { if (OnPropertyChange("AllowForbidUser", value)) _AllowForbidUser = value; }
		}

		private Boolean _AllowEditForum;
		/// <summary>
		/// 允许编辑论坛
		/// </summary>
		[Description("允许编辑论坛")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(24, "AllowEditForum", "允许编辑论坛", "", "bit", 0, 0, false)]
		public Boolean AllowEditForum
		{
			get { return _AllowEditForum; }
			set { if (OnPropertyChange("AllowEditForum", value)) _AllowEditForum = value; }
		}

		private Boolean _AllowVerfyPost;
		/// <summary>
		/// 允许审核发布
		/// </summary>
		[Description("允许审核发布")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(25, "AllowVerfyPost", "允许审核发布", "", "bit", 0, 0, false)]
		public Boolean AllowVerfyPost
		{
			get { return _AllowVerfyPost; }
			set { if (OnPropertyChange("AllowVerfyPost", value)) _AllowVerfyPost = value; }
		}

		private Boolean _AllowDel;
		/// <summary>
		/// 允许删除
		/// </summary>
		[Description("允许删除")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(26, "AllowDel", "允许删除", "", "bit", 0, 0, false)]
		public Boolean AllowDel
		{
			get { return _AllowDel; }
			set { if (OnPropertyChange("AllowDel", value)) _AllowDel = value; }
		}

		private Boolean _AllowEdit;
		/// <summary>
		/// 允许编辑
		/// </summary>
		[Description("允许编辑")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(27, "AllowEdit", "允许编辑", "", "bit", 0, 0, false)]
		public Boolean AllowEdit
		{
			get { return _AllowEdit; }
			set { if (OnPropertyChange("AllowEdit", value)) _AllowEdit = value; }
		}

		private Boolean _Hide;
		/// <summary>
		/// 隐藏
		/// </summary>
		[Description("隐藏")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(28, "Hide", "隐藏", "", "bit", 0, 0, false)]
		public Boolean Hide
		{
			get { return _Hide; }
			set { if (OnPropertyChange("Hide", value)) _Hide = value; }
		}

		private Boolean _RemoveTheme;
		/// <summary>
		/// 移除主题
		/// </summary>
		[Description("移除主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(29, "RemoveTheme", "移除主题", "", "bit", 0, 0, false)]
		public Boolean RemoveTheme
		{
			get { return _RemoveTheme; }
			set { if (OnPropertyChange("RemoveTheme", value)) _RemoveTheme = value; }
		}

		private Boolean _MoveTheme;
		/// <summary>
		/// 移动主题
		/// </summary>
		[Description("移动主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(30, "MoveTheme", "移动主题", "", "bit", 0, 0, false)]
		public Boolean MoveTheme
		{
			get { return _MoveTheme; }
			set { if (OnPropertyChange("MoveTheme", value)) _MoveTheme = value; }
		}

		private Boolean _TopTheme;
		/// <summary>
		/// 顶部主题
		/// </summary>
		[Description("顶部主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(31, "TopTheme", "顶部主题", "", "bit", 0, 0, false)]
		public Boolean TopTheme
		{
			get { return _TopTheme; }
			set { if (OnPropertyChange("TopTheme", value)) _TopTheme = value; }
		}

		private Boolean _BrightTheme;
		/// <summary>
		/// 明亮主题
		/// </summary>
		[Description("明亮主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(32, "BrightTheme", "明亮主题", "", "bit", 0, 0, false)]
		public Boolean BrightTheme
		{
			get { return _BrightTheme; }
			set { if (OnPropertyChange("BrightTheme", value)) _BrightTheme = value; }
		}

		private Boolean _UpOrDownTheme;
		/// <summary>
		/// 上或下主题
		/// </summary>
		[Description("上或下主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(33, "UpOrDownTheme", "上或下主题", "", "bit", 0, 0, false)]
		public Boolean UpOrDownTheme
		{
			get { return _UpOrDownTheme; }
			set { if (OnPropertyChange("UpOrDownTheme", value)) _UpOrDownTheme = value; }
		}

		private Boolean _BestTheme;
		/// <summary>
		/// 最好主题
		/// </summary>
		[Description("最好主题")]
		[DataObjectField(false, false, true, 1)]
		[BindColumn(34, "BestTheme", "最好主题", "", "bit", 0, 0, false)]
		public Boolean BestTheme
		{
			get { return _BestTheme; }
			set { if (OnPropertyChange("BestTheme", value)) _BestTheme = value; }
		}

		private String _prop1;
		/// <summary>
		/// 属性1
		/// </summary>
		[Description("属性1")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(35, "prop1", "属性1", "", "nvarchar(50)", 0, 0, true)]
		public String prop1
		{
			get { return _prop1; }
			set { if (OnPropertyChange("prop1", value)) _prop1 = value; }
		}

		private String _prop2;
		/// <summary>
		/// 属性2
		/// </summary>
		[Description("属性2")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(36, "prop2", "属性2", "", "nvarchar(50)", 0, 0, true)]
		public String prop2
		{
			get { return _prop2; }
			set { if (OnPropertyChange("prop2", value)) _prop2 = value; }
		}

		private String _prop3;
		/// <summary>
		/// 属性3
		/// </summary>
		[Description("属性3")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(37, "prop3", "属性3", "", "nvarchar(50)", 0, 0, true)]
		public String prop3
		{
			get { return _prop3; }
			set { if (OnPropertyChange("prop3", value)) _prop3 = value; }
		}

		private String _prop4;
		/// <summary>
		/// 属性4
		/// </summary>
		[Description("属性4")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(38, "prop4", "属性4", "", "nvarchar(50)", 0, 0, true)]
		public String prop4
		{
			get { return _prop4; }
			set { if (OnPropertyChange("prop4", value)) _prop4 = value; }
		}

		private String _AddUser;
		/// <summary>
		/// 添加用户
		/// </summary>
		[Description("添加用户")]
		[DataObjectField(false, false, false, 100)]
		[BindColumn(39, "AddUser", "添加用户", "", "nvarchar(100)", 0, 0, true)]
		public String AddUser
		{
			get { return _AddUser; }
			set { if (OnPropertyChange("AddUser", value)) _AddUser = value; }
		}

		private DateTime _AddTime;
		/// <summary>
		/// 添加时间
		/// </summary>
		[Description("添加时间")]
		[DataObjectField(false, false, false, 7)]
		[BindColumn(40, "AddTime", "添加时间", "", "datetime2", 7, 0, false)]
		public DateTime AddTime
		{
			get { return _AddTime; }
			set { if (OnPropertyChange("AddTime", value)) _AddTime = value; }
		}

		private String _ModifyUser;
		/// <summary>
		/// 修改用户
		/// </summary>
		[Description("修改用户")]
		[DataObjectField(false, false, true, 100)]
		[BindColumn(41, "ModifyUser", "修改用户", "", "nvarchar(100)", 0, 0, true)]
		public String ModifyUser
		{
			get { return _ModifyUser; }
			set { if (OnPropertyChange("ModifyUser", value)) _ModifyUser = value; }
		}

		private DateTime _ModifyTime;
		/// <summary>
		/// 修改时间
		/// </summary>
		[Description("修改时间")]
		[DataObjectField(false, false, true, 7)]
		[BindColumn(42, "ModifyTime", "修改时间", "", "datetime2", 7, 0, false)]
		public DateTime ModifyTime
		{
			get { return _ModifyTime; }
			set { if (OnPropertyChange("ModifyTime", value)) _ModifyTime = value; }
		}

		private Int32 _OrderFlag;
		/// <summary>
		/// 订单标记
		/// </summary>
		[Description("订单标记")]
		[DataObjectField(false, false, true, 10)]
		[BindColumn(43, "OrderFlag", "订单标记", "", "int", 10, 0, false)]
		public Int32 OrderFlag
		{
			get { return _OrderFlag; }
			set { if (OnPropertyChange("OrderFlag", value)) _OrderFlag = value; }
		}

		private String _BackupNo;
		/// <summary>
		/// 备份编号
		/// </summary>
		[Description("备份编号")]
		[DataObjectField(false, false, true, 15)]
		[BindColumn(44, "BackupNo", "备份编号", "", "nvarchar(15)", 0, 0, true)]
		public String BackupNo
		{
			get { return _BackupNo; }
			set { if (OnPropertyChange("BackupNo", value)) _BackupNo = value; }
		}

		private String _BackupOperator;
		/// <summary>
		/// 备份操作者
		/// </summary>
		[Description("备份操作者")]
		[DataObjectField(false, false, true, 200)]
		[BindColumn(45, "BackupOperator", "备份操作者", "", "nvarchar(200)", 0, 0, true)]
		public String BackupOperator
		{
			get { return _BackupOperator; }
			set { if (OnPropertyChange("BackupOperator", value)) _BackupOperator = value; }
		}

		private DateTime _BackupTime;
		/// <summary>
		/// 备份时间
		/// </summary>
		[Description("备份时间")]
		[DataObjectField(false, false, true, 7)]
		[BindColumn(46, "BackupTime", "备份时间", "", "datetime2", 7, 0, false)]
		public DateTime BackupTime
		{
			get { return _BackupTime; }
			set { if (OnPropertyChange("BackupTime", value)) _BackupTime = value; }
		}

		private String _BackupMemo;
		/// <summary>
		/// 备份注释
		/// </summary>
		[Description("备份注释")]
		[DataObjectField(false, false, true, 50)]
		[BindColumn(47, "BackupMemo", "备份注释", "", "nvarchar(50)", 0, 0, true)]
		public String BackupMemo
		{
			get { return _BackupMemo; }
			set { if (OnPropertyChange("BackupMemo", value)) _BackupMemo = value; }
		}
		#endregion

		#region 获取/设置 字段值
		/// <summary>
		/// 获取/设置 字段值。
		/// 一个索引，基类使用反射实现。
		/// 派生实体类可重写该索引，以避免反射带来的性能损耗
		/// </summary>
		/// <param name="name">字段名</param>
		/// <returns></returns>
		public override Object this[String name]
		{
			get
			{
				switch (name)
				{
					case "ID" : return _ID;
					case "SiteID" : return _SiteID;
					case "RadminID" : return _RadminID;
					case "Name" : return _Name;
					case "SystemName" : return _SystemName;
					case "Type" : return _Type;
					case "Color" : return _Color;
					case "Image" : return _Image;
					case "LowerScore" : return _LowerScore;
					case "UpperScore" : return _UpperScore;
					case "AllowTheme" : return _AllowTheme;
					case "AllowReply" : return _AllowReply;
					case "AllowSearch" : return _AllowSearch;
					case "AllowUserInfo" : return _AllowUserInfo;
					case "AllowPanel" : return _AllowPanel;
					case "AllowNickName" : return _AllowNickName;
					case "AllowVisit" : return _AllowVisit;
					case "AllowHeadImage" : return _AllowHeadImage;
					case "AllowFace" : return _AllowFace;
					case "AllowAutograph" : return _AllowAutograph;
					case "Verify" : return _Verify;
					case "AllowEditUser" : return _AllowEditUser;
					case "AllowForbidUser" : return _AllowForbidUser;
					case "AllowEditForum" : return _AllowEditForum;
					case "AllowVerfyPost" : return _AllowVerfyPost;
					case "AllowDel" : return _AllowDel;
					case "AllowEdit" : return _AllowEdit;
					case "Hide" : return _Hide;
					case "RemoveTheme" : return _RemoveTheme;
					case "MoveTheme" : return _MoveTheme;
					case "TopTheme" : return _TopTheme;
					case "BrightTheme" : return _BrightTheme;
					case "UpOrDownTheme" : return _UpOrDownTheme;
					case "BestTheme" : return _BestTheme;
					case "prop1" : return _prop1;
					case "prop2" : return _prop2;
					case "prop3" : return _prop3;
					case "prop4" : return _prop4;
					case "AddUser" : return _AddUser;
					case "AddTime" : return _AddTime;
					case "ModifyUser" : return _ModifyUser;
					case "ModifyTime" : return _ModifyTime;
					case "OrderFlag" : return _OrderFlag;
					case "BackupNo" : return _BackupNo;
					case "BackupOperator" : return _BackupOperator;
					case "BackupTime" : return _BackupTime;
					case "BackupMemo" : return _BackupMemo;
					default: return base[name];
				}
			}
			set
			{
				switch (name)
				{
					case "ID" : _ID = Convert.ToInt32(value); break;
					case "SiteID" : _SiteID = Convert.ToInt32(value); break;
					case "RadminID" : _RadminID = Convert.ToInt32(value); break;
					case "Name" : _Name = Convert.ToString(value); break;
					case "SystemName" : _SystemName = Convert.ToString(value); break;
					case "Type" : _Type = Convert.ToString(value); break;
					case "Color" : _Color = Convert.ToString(value); break;
					case "Image" : _Image = Convert.ToString(value); break;
					case "LowerScore" : _LowerScore = Convert.ToInt32(value); break;
					case "UpperScore" : _UpperScore = Convert.ToInt32(value); break;
					case "AllowTheme" : _AllowTheme = Convert.ToBoolean(value); break;
					case "AllowReply" : _AllowReply = Convert.ToBoolean(value); break;
					case "AllowSearch" : _AllowSearch = Convert.ToBoolean(value); break;
					case "AllowUserInfo" : _AllowUserInfo = Convert.ToBoolean(value); break;
					case "AllowPanel" : _AllowPanel = Convert.ToBoolean(value); break;
					case "AllowNickName" : _AllowNickName = Convert.ToBoolean(value); break;
					case "AllowVisit" : _AllowVisit = Convert.ToBoolean(value); break;
					case "AllowHeadImage" : _AllowHeadImage = Convert.ToBoolean(value); break;
					case "AllowFace" : _AllowFace = Convert.ToBoolean(value); break;
					case "AllowAutograph" : _AllowAutograph = Convert.ToBoolean(value); break;
					case "Verify" : _Verify = Convert.ToBoolean(value); break;
					case "AllowEditUser" : _AllowEditUser = Convert.ToBoolean(value); break;
					case "AllowForbidUser" : _AllowForbidUser = Convert.ToBoolean(value); break;
					case "AllowEditForum" : _AllowEditForum = Convert.ToBoolean(value); break;
					case "AllowVerfyPost" : _AllowVerfyPost = Convert.ToBoolean(value); break;
					case "AllowDel" : _AllowDel = Convert.ToBoolean(value); break;
					case "AllowEdit" : _AllowEdit = Convert.ToBoolean(value); break;
					case "Hide" : _Hide = Convert.ToBoolean(value); break;
					case "RemoveTheme" : _RemoveTheme = Convert.ToBoolean(value); break;
					case "MoveTheme" : _MoveTheme = Convert.ToBoolean(value); break;
					case "TopTheme" : _TopTheme = Convert.ToBoolean(value); break;
					case "BrightTheme" : _BrightTheme = Convert.ToBoolean(value); break;
					case "UpOrDownTheme" : _UpOrDownTheme = Convert.ToBoolean(value); break;
					case "BestTheme" : _BestTheme = Convert.ToBoolean(value); break;
					case "prop1" : _prop1 = Convert.ToString(value); break;
					case "prop2" : _prop2 = Convert.ToString(value); break;
					case "prop3" : _prop3 = Convert.ToString(value); break;
					case "prop4" : _prop4 = Convert.ToString(value); break;
					case "AddUser" : _AddUser = Convert.ToString(value); break;
					case "AddTime" : _AddTime = Convert.ToDateTime(value); break;
					case "ModifyUser" : _ModifyUser = Convert.ToString(value); break;
					case "ModifyTime" : _ModifyTime = Convert.ToDateTime(value); break;
					case "OrderFlag" : _OrderFlag = Convert.ToInt32(value); break;
					case "BackupNo" : _BackupNo = Convert.ToString(value); break;
					case "BackupOperator" : _BackupOperator = Convert.ToString(value); break;
					case "BackupTime" : _BackupTime = Convert.ToDateTime(value); break;
					case "BackupMemo" : _BackupMemo = Convert.ToString(value); break;
					default: base[name] = value; break;
				}
			}
		}
		#endregion

		#region 字段名
		/// <summary>
		/// 取得论坛组字段名的快捷方式
		/// </summary>
		public class _
		{
			///<summary>
			/// 编号
			///</summary>
			public const String ID = "ID";

			///<summary>
			/// 站点编号
			///</summary>
			public const String SiteID = "SiteID";

			///<summary>
			/// 管理员编号
			///</summary>
			public const String RadminID = "RadminID";

			///<summary>
			/// 名称
			///</summary>
			public const String Name = "Name";

			///<summary>
			/// 名称
			///</summary>
			public const String SystemName = "SystemName";

			///<summary>
			/// 类型
			///</summary>
			public const String Type = "Type";

			///<summary>
			/// 颜色
			///</summary>
			public const String Color = "Color";

			///<summary>
			/// 图片
			///</summary>
			public const String Image = "Image";

			///<summary>
			/// 低分数
			///</summary>
			public const String LowerScore = "LowerScore";

			///<summary>
			/// 上
			///</summary>
			public const String UpperScore = "UpperScore";

			///<summary>
			/// 允许主题
			///</summary>
			public const String AllowTheme = "AllowTheme";

			///<summary>
			/// 允许评论
			///</summary>
			public const String AllowReply = "AllowReply";

			///<summary>
			/// 允许搜索
			///</summary>
			public const String AllowSearch = "AllowSearch";

			///<summary>
			/// 允许用户信息
			///</summary>
			public const String AllowUserInfo = "AllowUserInfo";

			///<summary>
			/// 允许面板
			///</summary>
			public const String AllowPanel = "AllowPanel";

			///<summary>
			/// 允许昵称
			///</summary>
			public const String AllowNickName = "AllowNickName";

			///<summary>
			/// 允许访问
			///</summary>
			public const String AllowVisit = "AllowVisit";

			///<summary>
			/// 允许头部图片
			///</summary>
			public const String AllowHeadImage = "AllowHeadImage";

			///<summary>
			/// 允许头像
			///</summary>
			public const String AllowFace = "AllowFace";

			///<summary>
			/// 允许自动图形
			///</summary>
			public const String AllowAutograph = "AllowAutograph";

			///<summary>
			/// 验证
			///</summary>
			public const String Verify = "Verify";

			///<summary>
			/// 允许编辑用户
			///</summary>
			public const String AllowEditUser = "AllowEditUser";

			///<summary>
			/// 允许禁止用户
			///</summary>
			public const String AllowForbidUser = "AllowForbidUser";

			///<summary>
			/// 允许编辑论坛
			///</summary>
			public const String AllowEditForum = "AllowEditForum";

			///<summary>
			/// 允许审核发布
			///</summary>
			public const String AllowVerfyPost = "AllowVerfyPost";

			///<summary>
			/// 允许删除
			///</summary>
			public const String AllowDel = "AllowDel";

			///<summary>
			/// 允许编辑
			///</summary>
			public const String AllowEdit = "AllowEdit";

			///<summary>
			/// 隐藏
			///</summary>
			public const String Hide = "Hide";

			///<summary>
			/// 移除主题
			///</summary>
			public const String RemoveTheme = "RemoveTheme";

			///<summary>
			/// 移动主题
			///</summary>
			public const String MoveTheme = "MoveTheme";

			///<summary>
			/// 顶部主题
			///</summary>
			public const String TopTheme = "TopTheme";

			///<summary>
			/// 明亮主题
			///</summary>
			public const String BrightTheme = "BrightTheme";

			///<summary>
			/// 上或下主题
			///</summary>
			public const String UpOrDownTheme = "UpOrDownTheme";

			///<summary>
			/// 最好主题
			///</summary>
			public const String BestTheme = "BestTheme";

			///<summary>
			/// 属性1
			///</summary>
			public const String prop1 = "prop1";

			///<summary>
			/// 属性2
			///</summary>
			public const String prop2 = "prop2";

			///<summary>
			/// 属性3
			///</summary>
			public const String prop3 = "prop3";

			///<summary>
			/// 属性4
			///</summary>
			public const String prop4 = "prop4";

			///<summary>
			/// 添加用户
			///</summary>
			public const String AddUser = "AddUser";

			///<summary>
			/// 添加时间
			///</summary>
			public const String AddTime = "AddTime";

			///<summary>
			/// 修改用户
			///</summary>
			public const String ModifyUser = "ModifyUser";

			///<summary>
			/// 修改时间
			///</summary>
			public const String ModifyTime = "ModifyTime";

			///<summary>
			/// 订单标记
			///</summary>
			public const String OrderFlag = "OrderFlag";

			///<summary>
			/// 备份编号
			///</summary>
			public const String BackupNo = "BackupNo";

			///<summary>
			/// 备份操作者
			///</summary>
			public const String BackupOperator = "BackupOperator";

			///<summary>
			/// 备份时间
			///</summary>
			public const String BackupTime = "BackupTime";

			///<summary>
			/// 备份注释
			///</summary>
			public const String BackupMemo = "BackupMemo";
		}
		#endregion
	}
}